//
//  PublishAnimate.h
//  ZCYTabBar
//
//  Created by 王奎卿 on 16/9/17.
//  Copyright © 2016年 wkq. All rights reserved.
//

#import <UIKit/UIKit.h>
#define PLUSANIMATE ((PlusAnimate *)self)
//通知点击按钮协议
@protocol PublishAnimateDelegate <NSObject>
- (void)didSelectBtnWithBtnTag:(NSInteger)tag;
@end


@interface PlusAnimate : UIView
//通知点击按钮代理人
@property(weak,nonatomic) id<PublishAnimateDelegate> delegate;
//弹出动画view
+(PlusAnimate *)standardPublishAnimateWithView:(UIView *)view delegate:(id<PublishAnimateDelegate>) delegate;
- (instancetype)initWithFrame:(CGRect)frame withView:(UIView *)view;

@property(nonatomic, copy) void(^btnClick)(NSInteger inter);

@end
PlusAnimate * plusAnimate(id name);
